/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cheapflix.beans;

import java.io.Serializable;

/**
 * Bean class that holds all information 
 * pertinent to an item in a user's DVD queue.
 * @author Group B
 */
public class UserDVD implements Serializable {

    private int dvdId;
    private int id;
    private int rating;
    private int userId;
    private DVD dvd;
    private String comment;

    public String toString() {
        return "dvdId: " + dvdId + ", rating: " + rating + ", userId: " + userId;
    }

    public UserDVD() {
    }

    public DVD getDvd() {
        return dvd;
    }

    public void setDvd(DVD dvd) {
        this.dvd = dvd;
    }

    //Getters and setters
    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public int getDvdId() {
        return dvdId;
    }

    public void setDvdId(int dvdId) {
        this.dvdId = dvdId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getRating() {
        return rating;
    }

    public void setRating(int rating) {
        this.rating = rating;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }
}
